<template>
	<view class="ca-page">
		<view class="list">
			<text></text><view></view>
		</view>
		<view class="list">
			<text></text><view></view>
		</view>
		<view class="list">
			<text></text><view></view>
		</view>
	</view>
</template>

<script>
	const APP = getApp();
	
	export default {
		data() {
			return {
				dataTargetId:-1,
				dataOptions:{},
				dataPageInfo:{},
			}
		},
		methods: {
			loadPageData() {
				let _this = this;
	
				APP._post('接口', {}, null, function(res) {
					//执行成功
					if (res.caCode === APP._appconfig().fwcode.successed) {
						_this.dataPageInfo = res.caData;
					} else {
						APP._apptool().showToastInfo(res.caMsg);
					}
				}, function(res) {
					//执行失败
				}, function(res) {
					//执行完成
				});
			},
		},
		onLoad(options) {
			this.dataOptions = options;
			if(options.tid){
				this.dataTargetId = options.tid;
			}
			this.loadPageData();
		}
	}
</script>

<style lang="scss">

</style>
